<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/8/26
  Time: 14:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/include/easyui.jsp" %>
    <title>订单中心-签证订单管理</title>
</head>
<body>
<div id="toolbar">
    <select id="statusId" class="easyui-combobox" style="width:100px">
        <option value="0">全部状态</option>
        <option value="5">未支付</option>
        <option value="4">已支付</option>
        <option value="23">办理中</option>
        <option value="9">已退款</option>
        <option value="6">已过期</option>
    </select>
    <input id="orderNumber" class="easyui-searchbox" data-options="prompt:'请输入订单号',searcher: doSearch"
           style="width:200px"/>
    <input id="mobile" class="easyui-searchbox" data-options="prompt:'请输入手机号',searcher: doSearch" style="width:200px"/>
    <input id="name" class="easyui-searchbox" data-options="prompt:'请输入名称',searcher: doSearch" style="width:200px"/>
    <input id="nickname" class="easyui-searchbox" data-options="prompt:'请输入微信昵称',searcher: doSearch" style="width:200px"/>
</div>
<div id="dialogDetail"></div>
<table class="easyui-datagrid" id="datagrid"></table>
<script src="${cdnContentPath}/static/template7/dist/template7.js"></script>
<script type="text/template7" id="detail">
    <div style="padding:10px;">
        <h3>订单信息</h3>
        <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
            <tr>
                <td>订单编号:</td>
                <td>{{order.id}}</td>
            </tr>
            <tr>
                <td>订单号:</td>
                <td>{{order.orderNumber}}</td>
            </tr>
            <tr>
                <td>实付金额:</td>
                <td>{{order.actuallyPayment}}</td>
            </tr>
            <tr>
                <td>应付金额:</td>
                <td>{{order.shouldPayment}}</td>
            </tr>
            <tr>
                <td>购买数量:</td>
                <td>{{order.amount}}</td>
            </tr>
            <tr>
                <td>电子邮箱:</td>
                <td>{{order.email}}</td>
            </tr>
            <tr>
                <td>姓名:</td>
                <td>{{order.name}}</td>
            </tr>
            <tr>
                <td>手机号:</td>
                <td>{{order.phoneNumber}}</td>
            </tr>
            <tr>
                <td>订单备注:</td>
                <td>{{order.remark}}</td>
            </tr>
            <tr>
                <td>状态:</td>
                <td>{{order.statusName}}</td>
            </tr>
            <tr>
                <td>用户主键:</td>
                <td>{{order.userId}}</td>
            </tr>
            <tr>
                <td>内容主键:</td>
                <td>{{order.visaChildId}}</td>
            </tr>
            <tr>
                <td>创建时间:</td>
                <td>{{order.createTime}}</td>
            </tr>
        </table>

        <h3>用户信息</h3>
        <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
            <tr>
                <td>昵称:</td>
                <td>{{user.wechatNickname}}</td>
            </tr>
            <tr>
                <td>地址:</td>
                <td>{{user.country}}-{{province}}-{{user.city}}</td>
            </tr>
        </table>

        <h3>商品信息</h3>
        <table style="font-size: 13px;font-family: 'ArialMT','Arial';line-height: 20px;">
            <tr>
                <td>商品名:</td>
                <td>{{commodity.visa.title}}-{{commodity.visaChild.name}}</td>
            </tr>
            <tr>
                <td>价格:</td>
                <td>{{commodity.visaChild.price}}(<s style="color:#BDC3C3">{{commodity.visaChild.priceOld}}</s>)</td>
            </tr>
        </table>
    </div>
</script>
<script type="text/javascript" src="${relativePath}/admin-view/order_center/visa/visa.js"></script>
</body>
</html>
